﻿using HuaHan.WorkTicket.Domain.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuaHan.WorkTicket.Domain.Repositories.EntityFramework.ModelConfigurations
{
    public class GroupRoleConfiguration : BaseConfiguration<GroupRole>
    {
        public GroupRoleConfiguration()
            : base()
        {
            this.ToTable("tblGroupRole");
            this.Property(c => c.Role)
                .IsRequired()
                .HasMaxLength(20);
        }
    }
}
